//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef CONSOLEWINDOW_H_
#define CONSOLEWINDOW_H_

#define PATH_MAX                1024

typedef enum {
    InternalCommand_Not = 0x00,
    InternalCommand_Exit = 0x01,
    InternalCommand_Reboot = 0x02,
    InternalCommand_Goto = 0x03,
    InternalCommand_Call = 0x04,
    InternalCommand_Cd = 0x05,
    InternalCommand_Set = 0x06,
    InternalCommand_Ver = 0x07,
    InternalCommand_Driver = 0x08,
    InternalCommand_If = 0x0A,
    InternalCommand_Rem = 0x0B,
    InternalCommand_Path = 0x0C,
    InternalCommand_Pause = 0x0D,
    InternalCommand_Break = 0x0E,
    InternalCommand_For = 0x0F,
    InternalCommand_Shift = 0x10,
    InternalCommand_Beep = 0x11,
    InternalCommand_Time = 0x12,
    InternalCommand_Date = 0x13,
    InternalCommand_Dir = 0x14,
    InternalCommand_Ls = 0x15,
    InternalCommand_Rm = 0x16,
    InternalCommand_Cp = 0x17,
    InternalCommand_Copy = 0x18,
    InternalCommand_Del = 0x19,
    InternalCommand_Md = 0x1A,
    InternalCommand_Rd = 0x1B,
    InternalCommand_Cls = 0x1C,
    InternalCommand_Type = 0x1D,
    InternalCommand_Help = 0x1E,
    InternalCommand_Rename = 0x1F,
    InternalCommand_CdParent = 0x20,
    InternalCommand_Egf = 0x21,
    InternalCommand_Sp = 0x22,
    InternalCommand_Count = 0x23,
    InternalCommand_Mstat = 0x24,
    InternalCommand_Memtrace = 0x25,
    InternalCommand_Attrib = 0x26,
    InternalCommand_Start = 0x27,
} InternalCommand;

Void DoCommand(PWChar szCommandLine);
InternalCommand ConvertInternalSymbol(PWChar pwszCommand);

#endif /*CONSOLEWINDOW_H_*/
